package main

import (
	"backend/conf"
	"backend/databases"
	"backend/router"
)

//TIP <p>To run your code, right-click the code and select <b>Run</b>.</p> <p>Alternatively, click
// the <icon src="AllIcons.Actions.Execute"/> icon in the gutter and select the <b>Run</b> menu item from here.</p>

func main() {
	conn := conf.MysqlConnect()
	http := conf.HttpPort()
	databases.Database(conn)
	r := router.Router()
	r.Run(http)
	//s_ := "lWaAgYi+SnruZqvh7DRjFWJX56qL4Wngkk/Z2KXQG83RW6DVpecVzqi50Q1NWpiz9lUutLIw/MBTVi0mIEIa3sIVEzXC2hTHeuAxLZHx6RLkal+k5c1zEU5H33mGgupRR52SrQwtynatMD+6wOyAio4I6y38h55hCrnJBG6Xlt91/tZqhC45akfn2Kzl4LxuEZVybrb9QHZIESo7TirrLRKbV09wL5yw1Ivpi5DqXIkoK1WDypAqed5Z3h8NXqYfGQRN9B9xWuNufQbHZueM10wSg186o+wh1pOHWQlElx+nYQeRyzXb8C/D6wazJjSdsSKr4P7pF7xEnAUzprCNmA=="
	//key := utils.PrivateKey
	//str, err := utils.DecryptMessage(s_, key)
	//if err != nil {
	//	fmt.Println(err)
	//}
	//fmt.Println(str)

	//utils.GenerateStringKey()
}
